/*java jdk 1.7+
# -*- coding: utf-8 -
'''
Created on 2020年05月10日
@author: zxyong 13738196011
'''*/

package com.zxy.common;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.zxy.db2.PooledConnection2;
import com.zxy.model.T_PROC_NAME;

public interface Db_Common_InterFace
{
	public StringBuilder			sqlException	= new StringBuilder();
	public ResultSet				rs				= null;
	public int						rowsCount		= 0;
	public int						lastrowid		= -1;
	public int 						pageNumber		= 0;
	public int 						pageSize		= 0;
	public Object	conn_a			= null;

	public StringBuilder getSqlException();
	public ResultSet getRs();
	public int getRowsCount();
	public int getLastrowid();
	public Object getConn_a();
	public void setPageNumber(int pageNumber);
	public void setPageSize(int pageSize);
	public ResultSet Common_Sql(StringBuilder strSql);
	public ResultSet Common_Sql_Proc(String ProName, String[] Parameters, String[] ParamTypes, String[] ParamOutName, String[] ParamOutType, T_PROC_NAME trn);
	public int CommonExec_Sql(StringBuilder strSql);
}